package com.surprise.ods.sms;

public class Test {
	//ws访问地址
	public final static String url = "http://ws.iems.net.cn/GeneralSMS/ws/SmsInterface?wsdl";
	
	public static void main(String[] args) {
		try {
			
			SmsInterfaceServiceLocator service = new SmsInterfaceServiceLocator();
			service.setSmsInterfaceEndpointAddress(url);
//			String resp = service.getSmsInterface().getUserInfo("69304:admin", "23468427");
			String res2 = service.getSmsInterface().clusterSend("69304:admin", "23468427", "13770864600", "18721658552", "oh hello shit", null, null);
//			System.out.println("resp = " + resp);
			System.out.println("res2 = " + res2);
		} catch (Exception ex) {
			System.out.println("ERROR:" + ex.getMessage());
		}
	}
}
